/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package consultarTopicosWS;

import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;
import topico.ejb.TopicoLocal;

/**
 *
 * @author esarachik
 */
@WebService(serviceName = "ConsultarTopicosWS")
@Stateless()
public class ConsultarTopicosWS {
    @EJB
    private TopicoLocal ejbRef;// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Web Service Operation")


    @WebMethod(operationName = "devolverListaTopicos")
    public String devolverListaTopicos() {
        return ejbRef.devolverListaTopicos();
    }
    
}
